<template>
	<view class="content font_family">
		<view class="list">
			<view class="item f_j f_z_b" v-for="(item,index) in list" :key="index"
				@click="go(`/pages/my_msg/wt?id=${item.id}`)">
				<view class="left">
					{{item.title}}
				</view>
				<view class="right f_j">
					<image src="../../static/public/go_h.png" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import { faq_list } from '@/api/page.js'
	export default {
		data() {
			return {
				list: []
			}
		},
		onLoad() {
			this.get_list()
		},
		methods: {
			get_list() {
				faq_list().then(res => {
					this.list = res.data
				})
			}

		}
	}
</script>

<style lang="scss" scoped>
	.content {
		padding: 30rpx;

		.list {
			padding: 10rpx 30rpx;
			background: #FFFFFF;
			border-radius: 20rpx 20rpx 20rpx 20rpx;

			.item {
				padding: 20rpx 0rpx;

				.left {
					flex: 1;
					font-weight: 400;
					font-size: 33rpx;
					color: #3D3D3D;
				}

				.right {
					image {
						width: 32rpx;
						height: 32rpx;
					}
				}
			}
		}
	}
</style>